<?php
	session_start();
	$shopInfo = array();
	if ($_SESSION['shopid'] != 0) {
		$shopid = $_SESSION['shopid'];
		require_once(Models_DIR.'page_model.php');
		$page_model = new Page_Model();
		$shopInfo = $page_model->showModInfo($shopid);

		$html = <<<code
		<div class="row-fluid">
			<div class="span4 table well">
				<p style="margin-top:-20px">Two-seater</p>
				<span class="item" id="draggable">X先生 X人<button>刪除</button></span>
				<span class="item" style="background-color:#EE271D;">X先生 X人<button>刪除</button></span>
			</div>
			<div class="span4 table well">
				<p style="margin-top:-20px">Four-seater</p>
			</div>
			<div class="span4 table well">
				<p style="margin-top:-20px">Eight-seater</p>
			</div>
		</div>
		<div class="row-fluid">
			<div class="span6 well" id="queue">
				<p style="margin-top:-20px">Queue</p>
		        <span class="item" style="background-color:#D074EE;">Z先生 X人 <button>通知到店</button></span>
			</div>
			<div class="span6 well" id="notCheck">
				<p style="margin-top:-20px">NotCheck</p>
        		<span class="item">Y先生 X人<button>刪除</button><button>到店</button></span>
			</div>
		</div>
		<script>
			$("#draggable").draggable();			
		</script> 

code;
	echo $html;
	}
?>